[INFO] cloning repository https://github.com/ksesong/batterypilot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ksesong/batterypilot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fksesong%2Fbatterypilot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fksesong%2Fbatterypilot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c39298658af6fda1afa92f0713f608cba0f061cf
[INFO] building ksesong/batterypilot against try#3bbb5242a8064de4ca3af4036745ddf603ddaa85 for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fksesong%2Fbatterypilot" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ksesong/batterypilot on toolchain 3bbb5242a8064de4ca3af4036745ddf603ddaa85
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ksesong/batterypilot
[INFO] finished tweaking git repo https://github.com/ksesong/batterypilot
[INFO] tweaked toml for git repo https://github.com/ksesong/batterypilot written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/ksesong/batterypilot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9093f504af08d3846a9f3838e9ce07f3b22017b780473f21f7b83d390a9e211f
[INFO] running `Command { std: "docker" "start" "-a" "9093f504af08d3846a9f3838e9ce07f3b22017b780473f21f7b83d390a9e211f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9093f504af08d3846a9f3838e9ce07f3b22017b780473f21f7b83d390a9e211f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9093f504af08d3846a9f3838e9ce07f3b22017b780473f21f7b83d390a9e211f", kill_on_drop: false }`
[INFO] [stdout] 9093f504af08d3846a9f3838e9ce07f3b22017b780473f21f7b83d390a9e211f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+3bbb5242a8064de4ca3af4036745ddf603ddaa85" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d4d4215d460886293f5b5031807e7e1d37497c4fa1d1a52b7b49847cb2362fe5
[INFO] running `Command { std: "docker" "start" "-a" "d4d4215d460886293f5b5031807e7e1d37497c4fa1d1a52b7b49847cb2362fe5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling syn v1.0.90
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.2
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling futures-io v0.3.21
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling battery v0.7.8
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling xshell-macros v0.1.17
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling batterypilot v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling quote v1.0.17
[INFO] [stderr]    Compiling xshell v0.1.17
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling mio v0.8.2
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling parking_lot v0.12.0
[INFO] [stderr] error: failed to run custom build command for `batterypilot v0.3.1 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/batterypilot-639262295146c123/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   gcc -DCMD_TOOL_BUILD -c smc.c
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   smc.c:25:10: fatal error: IOKit/IOKitLib.h: No such file or directory
[INFO] [stderr]      25 | #include <IOKit/IOKitLib.h>
[INFO] [stderr]         |          ^~~~~~~~~~~~~~~~~~
[INFO] [stderr]   compilation terminated.
[INFO] [stderr]   make: *** [Makefile:11: smc.o] Error 1
[INFO] [stderr]   thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', build.rs:26:6
[INFO] [stderr]   stack backtrace:
[INFO] [stderr]      0:     0x55efd15b5b7b - std::backtrace_rs::backtrace::libunwind::trace::hc0a8bcaff7ee826c
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stderr]      1:     0x55efd15b5b7b - std::backtrace_rs::backtrace::trace_unsynchronized::h207fc5aaa97827e9
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stderr]      2:     0x55efd15b5b7b - std::sys_common::backtrace::_print_fmt::hb5f762779132f482
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/sys_common/backtrace.rs:66:5
[INFO] [stderr]      3:     0x55efd15b5b7b - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hba5627a7b0a36252
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/sys_common/backtrace.rs:45:22
[INFO] [stderr]      4:     0x55efd15d5938 - core::fmt::write::hf7d74bd6bada5a7d
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/core/src/fmt/mod.rs:1202:17
[INFO] [stderr]      5:     0x55efd15b3c71 - std::io::Write::write_fmt::h2f7307010b62d375
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/io/mod.rs:1679:15
[INFO] [stderr]      6:     0x55efd15b7348 - std::sys_common::backtrace::_print::h9f8d0ebc657ca125
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/sys_common/backtrace.rs:48:5
[INFO] [stderr]      7:     0x55efd15b7348 - std::sys_common::backtrace::print::h0cb71ef90ee3b02c
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/sys_common/backtrace.rs:35:9
[INFO] [stderr]      8:     0x55efd15b7348 - std::panicking::default_hook::{{closure}}::h5f3b192ffacd7bcb
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/panicking.rs:295:22
[INFO] [stderr]      9:     0x55efd15b70aa - std::panicking::default_hook::h2ece15987fef26cf
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/panicking.rs:314:9
[INFO] [stderr]     10:     0x55efd15b7970 - std::panicking::rust_panic_with_hook::he212a96e70091854
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/panicking.rs:698:17
[INFO] [stderr]     11:     0x55efd15b7847 - std::panicking::begin_panic_handler::{{closure}}::h30198bbfe22b459c
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/panicking.rs:588:13
[INFO] [stderr]     12:     0x55efd15b609c - std::sys_common::backtrace::__rust_end_short_backtrace::h47b5601b2b978b04
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/sys_common/backtrace.rs:138:18
[INFO] [stderr]     13:     0x55efd15b7512 - rust_begin_unwind
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/panicking.rs:584:5
[INFO] [stderr]     14:     0x55efd1587d63 - core::panicking::panic_fmt::hdf62dcd1e7d7f37c
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/core/src/panicking.rs:142:14
[INFO] [stderr]     15:     0x55efd1587df3 - core::result::unwrap_failed::ha2833224ea3a799b
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/core/src/result.rs:1785:5
[INFO] [stderr]     16:     0x55efd158bcf3 - core::result::Result<T,E>::unwrap::he4d34c9d38b7eb92
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/core/src/result.rs:1107:23
[INFO] [stderr]     17:     0x55efd158c6ae - build_script_build::main::he1a0ec82d401c726
[INFO] [stderr]                                  at /opt/rustwide/workdir/build.rs:22:5
[INFO] [stderr]     18:     0x55efd158a94b - core::ops::function::FnOnce::call_once::h139fcff4150c62a3
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/core/src/ops/function.rs:248:5
[INFO] [stderr]     19:     0x55efd158e74e - std::sys_common::backtrace::__rust_begin_short_backtrace::h6f7e23f3c5d9b950
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/sys_common/backtrace.rs:122:18
[INFO] [stderr]     20:     0x55efd158e7c1 - std::rt::lang_start::{{closure}}::h4d09bd773a773df6
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/rt.rs:166:18
[INFO] [stderr]     21:     0x55efd15b0704 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hd83bbeca18df28e2
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/core/src/ops/function.rs:283:13
[INFO] [stderr]     22:     0x55efd15b0704 - std::panicking::try::do_call::h1b8a3ed8af19b245
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/panicking.rs:492:40
[INFO] [stderr]     23:     0x55efd15b0704 - std::panicking::try::h26fd64be24568425
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/panicking.rs:456:19
[INFO] [stderr]     24:     0x55efd15b0704 - std::panic::catch_unwind::h9f87ebf1db3a3b2d
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/panic.rs:137:14
[INFO] [stderr]     25:     0x55efd15b0704 - std::rt::lang_start_internal::{{closure}}::h697e83525318cc30
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/rt.rs:148:48
[INFO] [stderr]     26:     0x55efd15b0704 - std::panicking::try::do_call::hffd2ff8e4d353b7b
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/panicking.rs:492:40
[INFO] [stderr]     27:     0x55efd15b0704 - std::panicking::try::h761139c3d7a53dde
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/panicking.rs:456:19
[INFO] [stderr]     28:     0x55efd15b0704 - std::panic::catch_unwind::h2a84882946adf17c
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/panic.rs:137:14
[INFO] [stderr]     29:     0x55efd15b0704 - std::rt::lang_start_internal::h844a212f7544ee03
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/rt.rs:148:20
[INFO] [stderr]     30:     0x55efd158e79a - std::rt::lang_start::haa82b8b1443fc3f0
[INFO] [stderr]                                  at /rustc/3bbb5242a8064de4ca3af4036745ddf603ddaa85/library/std/src/rt.rs:165:17
[INFO] [stderr]     31:     0x55efd158c831 - main
[INFO] [stderr]     32:     0x7f9905895083 - __libc_start_main
[INFO] [stderr]     33:     0x55efd1587f3e - _start
[INFO] [stderr]     34:                0x0 - <unknown>
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "d4d4215d460886293f5b5031807e7e1d37497c4fa1d1a52b7b49847cb2362fe5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d4d4215d460886293f5b5031807e7e1d37497c4fa1d1a52b7b49847cb2362fe5", kill_on_drop: false }`
[INFO] [stdout] d4d4215d460886293f5b5031807e7e1d37497c4fa1d1a52b7b49847cb2362fe5
